//
//  WDArrivalServiceItemModel.h
//  wd-serviceapp
//
//  Created by Bin Tang on 2024/8/4.
//

#import "TYZBaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface WDArrivalServiceItemModel : TYZBaseModel

/// 主键id
@property (nonatomic, assign) NSInteger id;

/// 图片路径
@property (nonatomic, copy) NSString *imgPath;

//车系
@property (nonatomic, copy) NSString *vehicleSales;

/// 车系
@property (nonatomic, copy) NSString *vehicleSalesValue;

/// 车型id
@property (nonatomic, copy) NSString *vehicleModelId;

/// 车型名称
@property (nonatomic, copy) NSString *modelName;

/// 工单号 系统自动生成
@property (nonatomic, copy) NSString *taskNo;

/// 工单类型 0.站内维修 1.外出救援
@property (nonatomic, assign) NSInteger taskType;

/// 车牌号
@property (nonatomic, copy) NSString *plateNumber;

/// 租户id
@property (nonatomic, copy) NSString *tenantId;

/// 更新时间
@property (nonatomic, copy) NSString *updateTime;

/// 创建时间
@property (nonatomic, copy) NSString *createTime;

/// 车ID
@property (nonatomic, assign) NSInteger vehicleId;

/// vin码 VIN号 底盘号
@property (nonatomic, copy) NSString *vehicleVin;

/// 更新时间
@property (nonatomic, copy) NSString *updateDatetime;

/// 站内维修 预约到站时间(年月日时分秒)
@property (nonatomic, copy) NSString *appointmentTime;

/// 服务流程 0.待分派 1.待接车 2.检查中 3.维修中 4.待报单 5.已完成 （6.已取消 7.已关闭）
@property (nonatomic, assign) NSInteger servFlow;

/// 服务流程：值
@property (nonatomic, copy) NSString *servFlowValue;

/// 服务站id
@property (nonatomic, assign) NSInteger stationId;

/// 服务站名称
@property (nonatomic, copy) NSString *stationName;

/// 年款
@property (nonatomic, copy) NSString *yearModel;


#pragma mark - 外出救援特有字段


/// 保修司机
@property (nonatomic, copy) NSString *repairDriver;

/// 保修电话
@property (nonatomic, copy) NSString *repairPhone;

/// 外出救援 救援地址
@property (nonatomic, copy) NSString *rescueAddress;

/// 外出救援 救援定位与服务站距离
@property (nonatomic, strong) NSNumber *rescueDistance;

/// 外出救援 救援定位 纬度
@property (nonatomic, assign) double rescueLatitude;

/// 外出救援 救援定位 经度
@property (nonatomic, assign) double rescueLongitude;

/// 抢单审核通过时间
@property (nonatomic, copy) NSString *asignTime;

/// 申请类型。 0 救援申请；1 取消救援；2 工单取消
@property (nonatomic, strong) NSNumber *applyType;

/// 申请状态。 0 待申请；1 待审核；2 同意；3 驳回
@property (nonatomic, strong) NSNumber *auditStatus;

/// 查询类型 0当前工单 1历史工单
@property (nonatomic, strong) NSNumber *searchType;


@end

NS_ASSUME_NONNULL_END

/*
 {"imgPath":"https://wd-test-202305.bj.bcebos.com/wd-test-202305/upload/20250208/5cc0a1efa566211d98bb055c811941c5.png","updateTime":"2025-02-17 17:19:36"}
 */
